<%-- 
    Document   : aulaList
    Created on : 21/08/2011, 17:08:40
    Author     : Graciano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>
<link rel="stylesheet" type="text/css" href="css/tabela.css" />
<div align="center">
    <p>Aulas</p>
    <mtw:form method="post" action="AulaRead.mtw">
        Data Inicial:
        <mtw:inputDate name="dataInicial" id="dataInicial" size="10"/>
        Data Final:
        <mtw:inputDate name="dataFinal" id="dataFinal" size="10"/>
        <mtw:submit value="Atualizar"/>
        <input type="button" value="Nova Aula" onclick="location. href='AulaShowForm.mtw'"/>
    </mtw:form>
</div>
 
<div align="center">
    <display:table name="pojos" id="pojo" cellspacing="0" requestURI="" decorator="facilius.controller.decorator.aula.AulaDecorator">

        <display:column title="Título" property="titulo" sortable="true"/>
        <display:column title="descrição" property="descricao" sortable="true"/>
        <display:column property="data" sortable="true"/>
        <display:column value="<a href=\"AulaShowForm.mtw?id=${pojo.id}\">alterar</a>"/>
        <display:column value="<a href=\"AulaDelete.mtw?id=${pojo.id}\">excluir</a>"/>
        <display:column value="<a href=\"MaterialShowForm.mtw?id=${pojo.id}\">anexos</a>"/>
        <display:column value="<a href=\"FrequenciaRead.mtw?id=${pojo.id}\">frequência</a>"/>
    </display:table>
</div>